import service from '@/utils/request'

// @Tags UserOrderSendPic
// @Summary 创建UserOrderSendPic
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserOrderSendPic true "创建UserOrderSendPic"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /userOrderSendPic/createUserOrderSendPic [post]
export const createUserOrderSendPic = (data) => {
     return service({
         url: "/userOrderSendPic/createUserOrderSendPic",
         method: 'post',
         data
     })
 }


// @Tags UserOrderSendPic
// @Summary 删除UserOrderSendPic
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserOrderSendPic true "删除UserOrderSendPic"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /userOrderSendPic/deleteUserOrderSendPic [delete]
 export const deleteUserOrderSendPic = (data) => {
     return service({
         url: "/userOrderSendPic/deleteUserOrderSendPic",
         method: 'delete',
         data
     })
 }

// @Tags UserOrderSendPic
// @Summary 删除UserOrderSendPic
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除UserOrderSendPic"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /userOrderSendPic/deleteUserOrderSendPic [delete]
 export const deleteUserOrderSendPicByIds = (data) => {
     return service({
         url: "/userOrderSendPic/deleteUserOrderSendPicByIds",
         method: 'delete',
         data
     })
 }

// @Tags UserOrderSendPic
// @Summary 更新UserOrderSendPic
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserOrderSendPic true "更新UserOrderSendPic"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /userOrderSendPic/updateUserOrderSendPic [put]
 export const updateUserOrderSendPic = (data) => {
     return service({
         url: "/userOrderSendPic/updateUserOrderSendPic",
         method: 'put',
         data
     })
 }


// @Tags UserOrderSendPic
// @Summary 用id查询UserOrderSendPic
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserOrderSendPic true "用id查询UserOrderSendPic"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /userOrderSendPic/findUserOrderSendPic [get]
 export const findUserOrderSendPic = (params) => {
     return service({
         url: "/userOrderSendPic/findUserOrderSendPic",
         method: 'get',
         params
     })
 }


// @Tags UserOrderSendPic
// @Summary 分页获取UserOrderSendPic列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取UserOrderSendPic列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /userOrderSendPic/getUserOrderSendPicList [get]
 export const getUserOrderSendPicList = (params) => {
     return service({
         url: "/userOrderSendPic/getUserOrderSendPicList",
         method: 'get',
         params
     })
 }